home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / Sample3 / README-click
Encoding:
Text File  |  1995-10-06  |  2.4 KB  |  35 lines  |  [TEXT/MPS ]

  1. ODF PartMaker
  2.  
  3. The project you have just generated works with the version 1.0d11 of ODF working on top of the OpenDoc DR4 for the Macintosh. This version of ODF is not cross-platform due to the too numerous differences between the current Macintosh and Windows version of OpenDoc.
  4.  
  5. The generated part has exactly the same functionalities as the ODFHello example distributed with ODF.
  6.  
  7. The folder containing this README file should be located at the same level as the ODF folder. 
  8.  
  9. This template generates <...> possible ways of building your sample:
  10.         - CodeWarrior PowerPC Debug
  11.         - CodeWarrior PowerPC Release
  12.         - .......
  13.  
  14. Your are free to discard folders for build environment you are not going to use.
  15.  
  16. How to build with CodeWarrior 7.x
  17.  
  18. Be sure you have correctly installed ODF. In MPW or Toolserver type the following command:
  19.  
  20. echo {ODF}
  21.  
  22. Your should get the full pathname of your ODF folder.
  23.  
  24. Launch CodeWarrior and then (from MPW or Toolserver) run the script called "Build". This script invokes the Rez and ODFRC tool to compile the resources and then, using AppleScript, asks CodeWarrior to open <YourPartName>.MW.pi project and compile it. This script uses the file called 'MacMake.bmk' located in the Sources folder. If you add new resource files, you need to modify this script.
  25.  
  26. Your part editor will be located in the same folder as the project file. Put an alias to this folder in your editors folder.
  27.  
  28. How to build with Rainbow
  29.  
  30. Before opening the project for the first time, run the RUN ME FIRST script. You only need to run this script once.
  31.  
  32. Build your sample project by selecting Build Library from the Build menu. Your part editor will be located in the same folder as the project file. Put an alias to this folder in your editors folder.
  33.  
  34. To debug your part, open the Test project and bring it up to date. This will create a debuggable pef. Remove any other versions of the part from the Editors folder. Open the part project. Launch the Symantec Debugger and cancel the launch dialog, leaving the debugger running. Hold the Command key down when you launch your part. This will break in CFM_INIT in the debugger, allowing you to set other breakpoints as desired. To set a breakpoint, select the project from the Windows menu, open or select the file you want and do Cmd-I to open the file in the debugger. Set the breakpoint and close the file window. Click the Go button to proceed to the breakpoint.
  35.